package dk.simonvogensen.itodo.client;

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.dom.client.StyleInjector;
import com.google.gwt.user.client.ui.RootPanel;
import dk.simonvogensen.itodo.client.view.ITodoView;

public class ITodo implements EntryPoint {

    public void onModuleLoad() {
		ITodoView view = new ApplicationLoader().build(false);
        StyleInjector.injectStylesheet(ITodoResources.INSTANCE.css().getText()); 
        view.init();
        RootPanel.get().add(view.getMainPanel());
    }
}
